package com.example.edu.resume.snapshot.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Document("lagou_resume_datas")
public class ResumeSnapshot {
    @Id
    private String id;
    private Long resumeid;
    private String name;
    private String city;
    @Field("birth_day")
    private Date birthday;
    private double expectSalary;


}
